[INFO] cloning repository https://github.com/joaofavoretti/tbd-rust-game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaofavoretti/tbd-rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaofavoretti%2Ftbd-rust-game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaofavoretti%2Ftbd-rust-game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 797984314354c409f20fd5c1cc66f7dda2fd79a7
[INFO] fixing joaofavoretti/tbd-rust-game against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaofavoretti%2Ftbd-rust-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joaofavoretti/tbd-rust-game
[INFO] finished tweaking git repo https://github.com/joaofavoretti/tbd-rust-game
[INFO] tweaked toml for git repo https://github.com/joaofavoretti/tbd-rust-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joaofavoretti/tbd-rust-game on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joaofavoretti/tbd-rust-game already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded raylib v5.5.1
[INFO] [stderr]   Downloaded serde v1.0.226
[INFO] [stderr]   Downloaded serde_core v1.0.226
[INFO] [stderr]   Downloaded cc v1.2.38
[INFO] [stderr]   Downloaded raylib-sys v5.5.1
[INFO] [stderr]   Downloaded serde_derive v1.0.226
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7
[INFO] running `Command { std: "docker" "start" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling bindgen v0.70.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling serde_core v1.0.226
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling serde v1.0.226
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.226
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling raylib-sys v5.5.1
[INFO] [stderr]     Checking raylib v5.5.1
[INFO] [stderr]     Checking hello-world-2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `raylib::prelude::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use raylib::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `raylib::prelude::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use raylib::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/resources/world.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                        -               ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]   --> src/resources/world.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                                        ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout]    | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]    | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]   --> src/resources/world.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                                        ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout]    | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout]    | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/resources/world.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                        -               ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:99:17
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/resources/world.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                        -               ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/resources/world.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                        -               ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]   --> src/resources/world.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                                        ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout]    | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]    | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]   --> src/resources/world.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]    |                                        ------------ return type is std::option::Option<(&'2 mut components::PlayerController, &mut components::Transform, &mut components::Velocity)>
[INFO] [stdout] ...
[INFO] [stdout] 81 | /             Some((
[INFO] [stdout] 82 | |                 entity.get_component_mut::<PlayerController>().unwrap(),
[INFO] [stdout]    | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 83 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 84 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout]    | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 85 | |             ))
[INFO] [stdout]    | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/resources/world.rs:97:13
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                        -               ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:99:17
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout]  93 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Velocity, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout]  97 | /             Some((
[INFO] [stdout]  98 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout]  99 | |                 entity.get_component_mut::<Velocity>().unwrap(),
[INFO] [stdout] 100 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 101 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/resources/world.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                        -               ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        let's call the lifetime of this reference `'1`
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________^ associated function was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `*entity` as mutable more than once at a time
[INFO] [stdout]    --> src/resources/world.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |       fn query(entity: &mut Entity) -> Option<Self> {
[INFO] [stdout]     |                                        ------------ return type is std::option::Option<(&'2 mut components::Transform, &mut components::Renderable, &mut components::Collider)>
[INFO] [stdout] ...
[INFO] [stdout] 113 | /             Some((
[INFO] [stdout] 114 | |                 entity.get_component_mut::<GameTransform>().unwrap(),
[INFO] [stdout]     | |                 ------ first mutable borrow occurs here
[INFO] [stdout] 115 | |                 entity.get_component_mut::<Renderable>().unwrap(),
[INFO] [stdout] 116 | |                 entity.get_component_mut::<Collider>().unwrap(),
[INFO] [stdout]     | |                 ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 117 | |             ))
[INFO] [stdout]     | |______________- returning this value requires that `*entity` is borrowed for `'2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*world` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/systems/physics.rs:25:50
[INFO] [stdout]    |
[INFO] [stdout] 19 | ...input_state = world.get_resource::<InputState>();
[INFO] [stdout]    |                  ----- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 25 | ...(controller, transform, velocity) in world.entities_with_components::<(&mut PlayerController, &mut GameTransform, &mut Velocity)>() {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 31 | ...if input_state.is_action_pressed(&Action::MoveUp) {
[INFO] [stdout]    |       ----------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*world` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/systems/physics.rs:74:48
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let level = world.get_resource::<crate::resources::level::Level>();
[INFO] [stdout]    |                     ----- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 74 |         for (transform, velocity, collider) in world.entities_with_components::<(&mut GameTransform, &mut Velocity, &mut Collider)>() {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 75 |             if self.check_collision(transform.position, collider, &level.collidable_tiles) {
[INFO] [stdout]    |                                                                   ----------------------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*world` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/systems/rendering.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut renderables: Vec<_> = world.entities_with_components::<(&mut GameTransform, &mut Renderable, &mut Collider)>()
[INFO] [stdout]    |                                       ^^^^^ `world` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn render_entities(&self, d: &mut RaylibDrawHandle, world: &mut World) {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*world` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/systems/physics.rs:25:50
[INFO] [stdout]    |
[INFO] [stdout] 19 | ...input_state = world.get_resource::<InputState>();
[INFO] [stdout]    |                  ----- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 25 | ...(controller, transform, velocity) in world.entities_with_components::<(&mut PlayerController, &mut GameTransform, &mut Velocity)>() {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 31 | ...if input_state.is_action_pressed(&Action::MoveUp) {
[INFO] [stdout]    |       ----------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*world` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/systems/physics.rs:74:48
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let level = world.get_resource::<crate::resources::level::Level>();
[INFO] [stdout]    |                     ----- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 74 |         for (transform, velocity, collider) in world.entities_with_components::<(&mut GameTransform, &mut Velocity, &mut Collider)>() {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 75 |             if self.check_collision(transform.position, collider, &level.collidable_tiles) {
[INFO] [stdout]    |                                                                   ----------------------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*world` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/systems/rendering.rs:65:39
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut renderables: Vec<_> = world.entities_with_components::<(&mut GameTransform, &mut Renderable, &mut Collider)>()
[INFO] [stdout]    |                                       ^^^^^ `world` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn render_entities(&self, d: &mut RaylibDrawHandle, world: &mut World) {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello-world-2` (bin "hello-world-2" test) due to 12 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0499, E0502, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello-world-2` (bin "hello-world-2") due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7", kill_on_drop: false }`
[INFO] [stdout] 9635451420d6fa304eca01fb148049c88cad931e8ba08df4129fc035f52fe4a7
